import request from '@/utils/request'

// 查询HTTP客户端参数列表
export function listHttpClient(query) {
  return request({
    url: '/system/HttpClient/list',
    method: 'get',
    params: query
  })
}

// 查询HTTP客户端参数详细
export function getHttpClient(id) {
  return request({
    url: '/system/HttpClient/' + id,
    method: 'get'
  })
}

// 新增HTTP客户端参数
export function addHttpClient(data) {
  return request({
    url: '/system/HttpClient',
    method: 'post',
    data: data
  })
}

// 修改HTTP客户端参数
export function updateHttpClient(data) {
  return request({
    url: '/system/HttpClient',
    method: 'put',
    data: data
  })
}

// 删除HTTP客户端参数
export function delHttpClient(id) {
  return request({
    url: '/system/HttpClient/' + id,
    method: 'delete'
  })
}

// 导出HTTP客户端参数
export function exportHttpClient(query) {
  return request({
    url: '/system/HttpClient/export',
    method: 'get',
    params: query
  })
}